package com.demo.mapper;

import com.demo.po.User;
import com.demo.po.UserQueryVO;

import java.util.List;

public interface UserMapper {
    
    //根据用户ID来查询用户信息
    User findUserById(int id) throws Exception;
    //添加用户
    void insertUser(User user) throws Exception;
    //综合查询
    List<User> findUserList(UserQueryVO userQueryVO);
    //综合查询用户总数
    int findUserCount(UserQueryVO userQueryVO);
    //resultMap入门
    User findUserRstMap(int id);
}
